import logo from './logo.svg';
import Cart from './components_redux/Cart';
import { Route, Link } from "react-router-dom"
import routes from './router';
function App() {
  return (
    <div className="App">
      <header className="App-header">
        { routes.map((route, index) => {
         return <Route path={route.path} component={route.component} key={index}></Route>
        }) }
      </header>
    </div>
  );
}

export default App;
